package com.ruoyi.security.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;



/**
 * 消防栓配套对象 omp_af_hydrant_detail
 *
 * @author cjie
 * @date 2022-01-22
 */
public class AfHydrantDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 消防栓 */
    @Excel(name = "消防栓")
    private String hydrantId;

    /** 配套名称 */
    @Excel(name = "配套名称")
    private String detailName;

    /** 配套规格 */
    @Excel(name = "配套规格")
    private String detailSpecification;

    /** 配套数量 */
    @Excel(name = "配套数量")
    private Long detailNum;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setHydrantId(String hydrantId)
    {
        this.hydrantId = hydrantId;
    }

    public String getHydrantId()
    {
        return hydrantId;
    }
    public void setDetailName(String detailName)
    {
        this.detailName = detailName;
    }

    public String getDetailName()
    {
        return detailName;
    }
    public void setDetailSpecification(String detailSpecification)
    {
        this.detailSpecification = detailSpecification;
    }

    public String getDetailSpecification()
    {
        return detailSpecification;
    }
    public void setDetailNum(Long detailNum)
    {
        this.detailNum = detailNum;
    }

    public Long getDetailNum()
    {
        return detailNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hydrantId", getHydrantId())
            .append("detailName", getDetailName())
            .append("detailSpecification", getDetailSpecification())
            .append("detailNum", getDetailNum())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
